package model.workersWithData.sort;

import java.util.Comparator;

import entities.IOrder;

public class SortOrderByDeadlineDate implements Comparator<IOrder> {
	public int compare(IOrder order1,IOrder order2){
		int result=0;
			result=order1.getDeadlineDate().compareTo(order2.getDeadlineDate());
		return result;		
	}

}
